﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Computer_方法
{
    class computer
    {
        //加法
        public double Add (double num, double num1)
        {
            return num + num1;
        }
        //减法
        public double Min(double num,double num1)
        {
            return num - num1;
        }
        //乘法
        public double Mul (double num , double num1)
        {
            return num * num1;
        }
        //除法
        public double Div(double num, double num1 )
        {
            return num / num1;
        }
    }
}
